package com.xqb.modules.domain.dto;

import com.xqb.modules.domain.po.LesCourseCatalogue;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 2092466583
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "LesAllCatalogueVo",description = "课程章节及对应小节")
public class LesCatalogueListDto {
    @Schema(name = "chapter",description = "章节")
    LesCourseCatalogue chapter;
    @Schema(name = "subsection",description = "小节")
    List<LesCourseCatalogue> children;
}
